@charset "UTF-8";
/* CSS变量定义 - 主题管理 */
:root {
    /* 主色调 - Twitter蓝 */
    --primary-color: #1DA1F2;
    --primary-hover: #1a91da;
    --primary-light: rgba(29, 161, 242, 0.1);
    
    /* 辅助色 */
    --secondary-color: #60bcf0;
    --accent-color: #e0245e;
    
    /* 中性色 */
    --text-primary: #14171a;
    --text-secondary: #657786;
    --background-primary: #ffffff;
    --background-secondary: #f8f9fa;
    --background-tertiary: #e1e8ed;
    --border-color: #e1e8ed;
    
    /* 功能性颜色 */
    --success-color: #50a14f;
    --warning-color: #c18401;
    --error-color: #e45649;
    
    /* 尺寸变量 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 50%;
    
    /* 间距变量 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
}

html {
    font: 14px/1.3 Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: var(--background-primary);
    color: var(--text-primary);
}

/* 基础元素样式 */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

img {
    border: none;
    vertical-align: middle;
    max-width: 100%;
}

video {
    background-color: var(--background-secondary);
    max-height: 80vh;
    max-width: 100%;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1em 0;
}

blockquote {
    background-color: var(--background-secondary);
    margin: 10px -25px 15px -75px;
    padding: 9px 25px 1px 75px;
    color: var(--text-secondary);
}

pre {
    white-space: pre-wrap;
    margin: 5px 0;
    padding: 0.5em;
    border: 2px solid var(--background-secondary);
    background-color: var(--background-secondary);
    border-radius: var(--radius-sm);
}

code {
    color: var(--error-color);
    background-color: var(--background-secondary);
    padding: 2px 4px;
    font-size: 0.9em;
    margin: 0 2px;
    border-radius: var(--radius-sm);
}

pre code {
    width: 100%;
    outline: 0;
    background-color: var(--background-secondary);
    color: var(--text-primary);
    line-height: 1.6em;
}

/* 表单元素 */
button, input, textarea {
    border: none;
    padding: 9px 12px;
    font-size: inherit;
    outline: 0;
}

input, textarea {
    border: 1px solid var(--border-color);
    margin: 5px;
    max-width: 100%;
    border-radius: var(--radius-sm);
}

button, input[type=button], input[type=submit] {
    background: var(--primary-color);
    cursor: pointer;
    border: 0;
    border-bottom: 2px solid var(--primary-hover);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

button:hover, input[type=button]:hover, input[type=submit]:hover {
    background: var(--primary-hover);
}

textarea {
    width: 100%;
    position: relative;
    left: -5px;
    resize: vertical;
}

/* 标题样式 */
h1 { font-size: 1.8em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1em; }
h6 { font-size: 0.8em; }

/* 选择文本样式 */
::selection, ::-moz-selection, ::-webkit-selection {
    background: var(--primary-light);
    text-shadow: none;
}

/* 布局类 */
.c-max, .c-min {
    margin: 0 auto;
}

.c-max { max-width: 1024px; }
.c-min { max-width: 940px; }

.body { margin: 22px auto 20px auto; }
.clear { clear: both; }

/* 侧边栏 */
.sidebar {
    float: left;
    width: 300px;
    margin-right: 20px;
    font-size: 12px;
}

.sidebar .box {
    background-color: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.sidebar .box+.box { margin-top: 20px; }

/* 通用盒子样式 */
.box b {
    display: block;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--background-secondary);
}

.box-body b {
    display: inline;
    padding: 0;
    border: none;
    background-color: transparent;
}

.box .fa, .post-info-i .fa {
    width: 15px;
    text-align: center;
    margin-right: 2px;
}

.box .box-body { padding: 12px; }

.sidebar-readmore {
    text-align: center;
    cursor: pointer;
    background-color: var(--background-secondary) !important;
}

/* 侧边栏列表 */
.sidebar-reply-li li { clear: both; padding: 4px !important; }

.sidebar-reply-li li p {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 4px 0 7px 0;
}

.sidebar-reply-li b+a {
    margin-top: 6px;
    display: block;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* 显示框 */
.click-show { position: relative; }
.click-show .show { display: table; }

.show-this {
    display: none;
    position: absolute;
    z-index: 99;
    left: 0;
    padding: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--background-primary);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-sm);
}

.show-this * { max-width: none !important; }

/* 图标样式 */
.icon-blue, .icon-red, .icon-yellow {
    color: white;
    border-radius: var(--radius-full);
    padding: 5px 8px;
    display: inline-block;
    font-weight: 100;
    font-size: 13px;
}

.icon-yellow { background-color: var(--warning-color); }
.icon-blue { background-color: var(--primary-color); }
.icon-red { background-color: var(--accent-color); }

/* 文章列表 */
.article-list { width: 100%; }

.huaji-half {
    float: left;
    width: 50%;
    text-align: center;
}

.huaji-half+.huaji-half { border-left: 1px solid var(--border-color); }

/* 盒子内链接 */
.box a {
    color: var(--primary-color);
    border: none;
}

/* 列表样式 */
.box li {
    list-style-type: none;
    padding: 0 4px 4px 4px;
}

.box li+li { padding: 6px 4px; }

.li-haf-border li+li { border-top: 1px solid var(--border-color); }

.box ul li:nth-last-child(1) { padding-bottom: 0; }

/* 帖子样式 */
.post {
    background-color: var(--background-primary);
    position: relative;
    word-break: break-all;
    word-wrap: break-word;
    white-space: normal;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
    transition: background-color 0.2s ease;
}

.post+.post { margin-top: 0; }

/* 更多链接 */
p.more {
    margin: 5px 0 0 0;
    padding: 0;
    float: right;
}

/* 列表头部 */
.a-l-fc {
    margin-bottom: -5px;
    background-color: var(--background-secondary);
    padding: 0;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
}

.a-l-fc a {
    padding: 12px 11px 11px 11px;
    line-height: 1;
    float: left;
    height: 38px;
    display: block;
    border-bottom: 2px solid var(--primary-color);
    border-right: 1px solid var(--border-color);
    background-color: var(--background-primary);
}

/* 搜索表单 */
.a-l-fc form {
    float: right;
    position: relative;
}

.a-l-fc form button { display: none; }

.a-l-fc form input {
    border-color: var(--border-color);
    height: 28px;
    max-width: none;
    width: 160px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15) inset;
    font-size: 14px;
    padding: 5px 29px 5px 10px;
}

.a-l-fc form .is {
    position: absolute;
    right: 0;
    top: 0;
    padding: 11px 15px;
    cursor: pointer;
}

/* 帖子头部 */
.post-head {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    position: absolute;
    left: 15px;
    top: 15px;
}

/* 帖子内容区 */
.post-article {
    margin-left: 60px;
}

.post-article img {
    border: 1px solid var(--border-color);
    cursor: zoom-in;
    border-radius: var(--radius-sm);
    margin: 8px 0;
    transition: transform 0.2s ease;
}

.post-article img:hover { transform: scale(1.01); }

.post-article img.tbbq, .comment-list .tbbq {
    border: none;
    cursor: default;
    vertical-align: middle;
    margin: 0 2px;
    border-radius: 0;
    transform: none;
}

/* 文章标题 */
.post-article h1, .post-article h2, .post-article h3, .post-article h4, .post-article h5, .post-article h6 {
    color: var(--text-primary);
    margin: 15px 0 10px 0;
}

.post-article h1:before, .post-article h2:before, .post-article h3:before, .post-article h4:before, .post-article h5:before, .post-article h6:before {
    font-weight: 800;
    font-style: italic;
    color: var(--primary-color);
}

.post-article-author { color: var(--text-primary); }

/* 帖子内容 */
.post-content {
    /* margin-bottom: 12px; */
    max-width: none;
    /* line-height: 2em; */
    padding-left: 12px;
    padding-right: 12px;
}

.post-content a {
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}

.post-content a:hover { border-bottom: 1px solid var(--primary-color); }

.post-content p { padding: 0.2em 0 0.5em 0; }

.post-content p br { line-height: 0; }

.post-content li { margin-left: 20px; line-height: 35px; }

/* 帖子信息 */
.post-info-i {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
    margin-bottom: 10px;
}

.post-info-i h2 {
    display: inline;
    font-weight: 700;
    margin-right: 6px;
    color: var(--text-primary);
    margin-top: 8px;
}

.post-info-i h2 a { color: var(--text-primary); text-decoration: none; font-size: 16px;}

.post-info-i small {
    display: block;
    color: var(--text-secondary);
    margin: 4px 2px;
    font-size: 14px;
}

.post-thumb { margin-top: 10px; }

/* 随机文章 */
#randomarticle {
    max-height: 750px;
    overflow: hidden;
}

#randomarticle li+li {
border-top: 1px solid var(--border-color);
    margin-top: 10px;
    padding-top: 10px;
}
/* 评论样式 */
.comment-meta small { color: var(--text-secondary); }
.comment-author { margin-bottom: 10px; }

/* 帖子元数据 */
.post-meta {
    background-color: var(--background-primary);
    color: var(--text-secondary);
}

.post-meta i { margin-right: 4px; }

.post-meta-icons {
    display: flex;
    justify-content: space-between;
}

.post-meta-icons span {
    flex: 1;
    text-align: center;
    width: auto;
    float: none;
}

.post-meta-icons a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

/* .post-meta-icons a:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
} */

.input-g {
    position: relative;
}

.input-g input {
    display: block;
    width: 100%;
    margin: 5px 0;
    padding-left: 53px;
}

.input-g label {
    position: absolute;
    left: 1px;
    top: 1px;
    padding: 8px 0;
    text-align: center;
    width: 40px;
    height: 34px;
    border-right: 1px solid var(--border-color);
    background-color: var(--background-secondary);
}

#comment_form *[type=submit] {
    display: block;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

#comment_form p + p { margin-top: 10px; }

/* 相关文章 */
.post-near li {
    width: 49.5%;
    float: left;
    font-size: 12px;
    text-align: center;
}

.li-el li, .me-el, .post-near li {
    overflow: hidden;
    line-height: 1.2em;
    white-space: nowrap;
    list-style: none;
    text-overflow: ellipsis;
    display: block;
}

/* 评论列表 */
.comment-list {
    position: relative;
    word-break: break-all;
    word-wrap: break-word;
    white-space: normal;
    margin-top: 20px;
}

.avatar {
    float: left;
    margin: 0 5px 5px 0;
    padding: 2px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.comment-body {
    background-color: var(--background-primary);
    border: 1px solid var(--border-color);
    padding: 15px;
    list-style: none;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.comment-body p { clear: both; }

.comment-child {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px;
    margin-top: 10px;
}

.comment-children .comment-list { background-color: var(--background-secondary); }

/* 底部和分页 */
.foot, .page-navigator {
    background-color: var(--background-primary);
    border: 1px solid var(--border-color);
    padding: 15px 10px;
    text-align: center;
    margin-top: 20px;
    border-radius: var(--radius-md);
}

.foot { z-index: 999; position: relative; }

.page-navigator li {
    display: inline-block;
    background-color: var(--background-secondary);
    margin: 5px;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.page-navigator li a, .page-navigator li span {
    display: inline-block;
    padding: 2px 8px;
}

.page-navigator li.current {
    background-color: var(--primary-color);
    color: white;
}

/* 支付按钮 */
.pay {
cursor: pointer;
    text-align: center;
    border: 1px solid var(--warning-color);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    display: table;
    white-space: nowrap;
    margin: 10px auto 0 auto;
    transition: background-color 0.2s ease;
}

/* .pay:hover { background-color: rgba(193, 132, 1, 0.1); } */

.pay span { display: inline-block; padding: 2px 5px; }

/* 滚动条样式 */
::-webkit-scrollbar-thumb {
    height: 40px;
    background-color: var(--border-color);
    border-radius: 15px;
}

::-webkit-scrollbar { width: 8px; height: 8px; }

/* 工具栏样式 */
.toolbar {
    margin-left: -6px;
    display: flex;
    gap: 10px;
    align-items: center;
    float: left;
}

/* 文本输入框样式 */
.text {
    border: 1px solid var(--border-color);
    min-height: 100px;
    padding: 15px;
    border-radius: var(--radius-lg);
    background-color: var(--background-primary);
    transition: border-color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    resize: none;
}

.text:hover, .text:focus-within {
    border-color: var(--primary-color);
    outline: none;
}

/* 消息文本样式 */
.box-main .massageText {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 代码块样式 */
.post-content pre code {
    background: #2d2d2d;
    color: #e0e0e0;
    border-radius: var(--radius-md);
    display: block;
    padding: 15px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
}

/* 帖子文本 */
.post-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-word;
}

/* 媒体元素 */
.massageImgCommon {
    max-width: 75%;
    min-width: 5%;
    border-radius: var(--radius-lg);
    margin: 8px 0;
}

.post-content video {
    border-radius: var(--radius-lg);
}

.music { width: 100%; margin: 8px 0; }

/* 按钮样式 */
#open_comment_form_btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
}

#sendButton {
    background-color: var(--primary-color);
    color: white;
    border: none;
    /* border-radius: 9999px; */
    padding: 8px 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#sendButton:hover { background-color: var(--primary-hover); }

/* 导航栏样式 - 合并优化 */
.top-bar-body {
    padding: 0;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, var(--background-primary), var(--background-secondary));
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100000;
    /* 添加flexbox布局，确保一行显示 */
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* 防止换行 */
    flex-wrap: nowrap;
    overflow-x: auto;
    /* 隐藏滚动条但保留滚动功能 */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.top-bar-body ul {
    display: flex;
}

/* 隐藏WebKit浏览器的滚动条 */
.top-bar-body::-webkit-scrollbar {
    display: none;
}

.top-bar-body .current { border-bottom-color: var(--primary-color); }

.top-bar-body li {
    /* 修改为flex项 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 20px 6px 20px;
    border-bottom: 3px solid transparent;
    margin: 0;
    transition: border-color 0.2s ease;
    /* 确保每个菜单项宽度均匀 */
    flex: 1;
    min-width: 0;
    /* 确保不换行 */
    white-space: nowrap;
}

.top-bar-body li:hover { border-bottom-color: var(--primary-light); }

.nav-menu {
    padding: 0;
}

.nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.nav-item {
    flex: 1;
    min-width: 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-radius: var(--radius-md);
    margin: 4px;
    background: transparent;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateY(-2px);
}

.nav-item.active .nav-link {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
}

.nav-icon {
    font-size: 18px;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.nav-link:hover .nav-icon {
    transform: scale(1.1);
}

.nav-text {
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.nav-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* 活动状态指示器 */
.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
    animation: slideIn 0.3s ease;
}

/* 响应式适配 - 合并重复的.top-bar-body定义 */
@media (max-width: 768px) {
    .nav-list {
        justify-content: space-between;
    }
    
    .nav-item {
        flex: 0 1 auto;
        min-width: 60px;
    }
    
    .nav-link {
        padding: 10px 6px;
        font-size: 11px;
    }
    
    .nav-icon {
        font-size: 16px;
    }
    
    .nav-text {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .top-bar-body {
        margin: 0 0 12px 0;
        border-radius: var(--radius-md);
    }
    
    .nav-item {
        min-width: 55px;
    }
    
    .nav-link {
        padding: 8px 4px;
    }
    
    .nav-icon {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .nav-text {
        font-size: 9px;
    }
}

/* 删除第908行和第957行的重复响应式定义 */
/* @media (max-width: 480px) {
    .top-bar-body {
        margin: 0 0 12px 0;
        border-radius: var(--radius-md);
    }
} */

/* 动画效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60%;
        opacity: 1;
    }
}

/* 暗色模式适配 - 合并优化 */
@media (prefers-color-scheme: dark) {
    .top-bar-body {
        background: linear-gradient(135deg, var(--background-secondary), var(--background-tertiary));
        border-color: rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    
    .nav-link:hover {
        background: rgba(var(--primary-rgb), 0.1);
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .nav-item.active::after {
        height: 4px;
        background: var(--primary-color);
    }
    
    .nav-link {
        border: 1px solid transparent;
    }
    
    .nav-link:hover {
        border-color: var(--primary-color);
    }
}

/* 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
    .nav-link,
    .nav-link:hover,
    .nav-icon,
    .nav-item.active::after {
        transition: none;
        animation: none;
    }
    
    .nav-link:hover {
        transform: none;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .nav-link:active {
        background: rgba(var(--primary-rgb), 0.1);
        transform: scale(0.95);
    }
    
    .nav-link:hover {
        transform: none;
        background: transparent;
    }
}

#sendButton:disabled {
    background-color: var(--primary-light);
    cursor: not-allowed;
}

/* 发布区 */
.postnow {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* 悬浮发布按钮 */
#floating_publish_button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

#floating_publish_button button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    width: 56px;
    height: 56px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

#floating_publish_button button:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

/* 评论表单容器 */
#comment_form_container {
    background-color: var(--background-primary);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 5px;
}

/* 加载更多样式 */
#showMore {
    text-align: center;
    padding: 16px;
    color: var(--text-secondary);
}

/* 视频播放器样式 */
.dplayer { border-radius: var(--radius-lg); overflow: hidden; max-width: 75%;}

/* 表情选择器样式 */
#showfacenamereplace .tbbq {
    padding: var(--spacing-sm);
    margin: var(--spacing-xs);
    border-radius: var(--radius-sm);
    border: 2px solid var(--background-tertiary);
    cursor: pointer;
    height: auto;
    transition: all 0.2s ease;
}

#showfacenamereplace .tbbq:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* 图片查看器 */
#zooming {
    display: none;
    position: fixed;
    top: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

#zooming img {
    width: auto;
    max-width: 90%;
    display: block;
    margin: 0 auto;
    z-index: 9999999;
    cursor: zoom-out;
}

/* 防止选择的元素 */
.post-head, .body-gravatar, .avatar, .tbbq {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 加载动画 */
.box-loading {
    background-image: url(https://wx4.sinaimg.cn/mw690/005ShQFIgy1fu6s15xb1ig30au0aemz2.gif);
    background-position: center;
    min-height: 160px;
    background-repeat: no-repeat;
}

/* 随机图片 */
#randomimg { width: 100%; border-radius: var(--radius-sm); }

/* 响应式设计 */
@media screen and (max-width: 1000px) {
    .c-min { max-width: 800px; }
    .article-list { width: 580px; }
    .sidebar { width: 200px; }
    blockquote { margin-right: -15px; }
}

@media screen and (max-width: 830px) {
    .c-min { max-width: 600px; }
    .article-list { width: 390px; }
    .post-article { margin-left: 40px; }
    .post-head {
        width: 45px;
        height: 45px;
        left: 10px;
        top: 10px;
    }
    .post-info-i h2 { margin-top: 0; }
    blockquote {
        margin-left: -55px;
        padding-left: 55px;
    }
}

@media screen and (max-width: 768px) {
    .c-min { max-width: 97%; }
    .sidebar {
        width: 100%;
        margin-right: 0;
    }
    .article-list {
        width: 100%;
        margin-top: -10px;
    }
    .sidebar-mb-show { display: block; }
    .post-head {
        position: static;
        float: left;
        margin: 10px 10px 5px 0;
    }
    .post-article { margin-left: 0; }
    .body { margin-top: 10px; }
    blockquote {
        margin: 0;
        padding-left: 17px;
        padding-right: 17px;
    }
    .post { padding: 12px 16px; }
    .post-info-i small { font-size: 13px; }
    .post-text { font-size: 14px; }
}

/* 删除重复的.body-top-bg和.body-gravatar样式（第1211-1308行） */
/* 这些样式已经在文件前面的响应式部分定义过，无需重复 */

/* 使用CSS变量保持主题一致性 */
.body-top-bg {
    /* 背景图片设置 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* 尺寸和布局 */
    height: 200px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    
    /* 使用CSS变量设置圆角和阴影 */
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    
    /* 添加渐变遮罩提升文字可读性 */
    position: relative;
    overflow: hidden;
}

.body-top-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

/* 用户头像样式 */
.body-gravatar {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-full);
    border: 3px solid var(--background-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.body-gravatar:hover {
    transform: scale(1.05);
}

/* 用户名样式 */
.body-top-bg h2 {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 var(--spacing-sm) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* 个人简介样式 */
.body-top-bg small {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    max-width: 90%;
    text-align: center;
    line-height: 1.4;
}

/* 响应式设计调整 */
@media screen and (max-width: 768px) {
    .body-top-bg {
        height: 180px;
        padding: var(--spacing-lg);
    }
    
    .body-gravatar {
        width: 70px;
        height: 70px;
    }
    
    .body-top-bg h2 {
        font-size: 20px;
    }
    
    .body-top-bg small {
        font-size: 13px;
    }
}

/* 增强视觉效果的hover状态 */
.body-top-bg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}